package com.ruoyi.project.hcy.product.mapper;

import com.ruoyi.project.hcy.product.domain.style.ProStyle;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @ClassName ProStyleMapper
 * @Author SAI
 * @Date 2020/9/18 8:50
 * @Description ProStyleMapper
 * @Version 1.0
 */
@Repository
public interface ProStyleMapper {
    List<ProStyle> selectProStyleList(ProStyle proStyle);

    ProStyle checkStyleNameUnique(String styleName);

    int insertProStyle(ProStyle proStyle);

    ProStyle selectProStyleById(Long styleId);

    int updateProStyle(ProStyle proStyle);

    int delectProStyleByIds(Long[] styleIds);
}
